package com.sks.web.formbean.house;

import javax.persistence.Transient;

import com.sks.bean.pojo.Message;
import com.sks.web.formbean.BaseForm;

public class MessageForm extends BaseForm {
	private Integer messageId;
	private String content;
	private String linkInfo;
	private Boolean read;
	private String remark;
	private String info;
	//验证码
	private String randCode;
	
	public Integer getMessageId() {
		return messageId;
	}
	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getLinkInfo() {
		return linkInfo;
	}
	public void setLinkInfo(String linkInfo) {
		this.linkInfo = linkInfo;
	}
	public Boolean getRead() {
		return read;
	}
	public void setRead(Boolean read) {
		this.read = read;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public void copyToObj(Message msg) {
		if (null != msg) {
			msg.setContent(content);
			msg.setLinkInfo(linkInfo);
			msg.setRemark(remark);
		}
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	
	public String getRandCode() {
		return randCode;
	}

	public void setRandCode(String randCode) {
		this.randCode = randCode;
	}
}
